﻿<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Short_Answer.aspx.vb" Inherits="Short_Answer" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit.HTMLEditor" tagprefix="cc1" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Short Answer Question Creator</title>
    <style type="text/css">
        #txtQuestion {margin-left: 100px}
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <h1>Short Answer Question Creator</h1>
        <br />
        Question Title &nbsp;&nbsp; 
        <asp:TextBox ID="txtTitle" runat="server" 
            Width="296px" Height="25px"></asp:TextBox>
        <cc2:AutoCompleteExtender
                runat="server" 
                ID="autoComplete1" 
                TargetControlID="txtTitle"
                ServicePath="AutoComplete.asmx" 
                ServiceMethod="GetCompletionList"
                MinimumPrefixLength="1" 
                CompletionInterval="1000"
                EnableCaching="true"
                CompletionSetCount="12" />
        <br /><br />
        Question Text <cc1:Editor ID="QuestionEditor" runat="server" Width="400px" /><br /><br />
        Answer: &nbsp;&nbsp; <asp:TextBox ID="txtAnswer" runat="server" 
            Width="324px" Height="46px"></asp:TextBox>
        <cc2:AutoCompleteExtender 
                runat="server" 
                ID="autoComplete2" 
                TargetControlID="txtAnswer"
                ServicePath="AutoComplete.asmx" 
                ServiceMethod="GetCompletionList1"
                MinimumPrefixLength="1" 
                CompletionInterval="1000"
                EnableCaching="true"
                CompletionSetCount="12" />
        <br /><br /><br />
        Feedback <cc1:Editor ID="FeedbackEditor" runat="server" Width="400px" /><br /><br />
        <br />
        <br />
        <asp:Button ID="btnSubmit" runat="server" Text="Submit" />      
        <br />
        <br />

        <a href="loggedin.aspx">Back</a>
    </div>
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    <Services>
        <asp:ServiceReference Path="AutoComplete.asmx"/>
    </Services>
    </asp:ScriptManager>
    </form>
</body>
</html>
